package com.jdls.tanhua.dubbo;

import com.jdls.tanhua.mongo.UserLike;

import java.util.List;
import java.util.Map;

/**
 * @author 嘉德罗斯
 * @date 2021/11/1
 */
public interface UserLikeApi {

    Map<String,Integer> findCounts(Long userId);

    boolean save(UserLike userLike);

    List<UserLike> findIsLike(Long userId,List<Long> visitorUserId);

    List<UserLike> like(Long userId, int page, int pageSize);

    List<UserLike> fan(Long userId, int page, int pageSize);
}
